package org.dudemonkey.jvm.javawentidingwei.aboutlock;

import java.util.HashMap;
import java.util.Map;

public class RunWaitMain {
    private static final Map sharelock = new HashMap<String,String>();

    public static void main(String[] args) {
        SubWaitThread t1 = new SubWaitThread(sharelock);

        Thread t2 = new Thread(new SubWaitThreadIface(sharelock),"SubWaitThreadIface");

        t1.start();
        t2.start();

    }
}
